//
//  SEGDoorBaseController.h
//  SEGUhomeIntelligentHardware
//
//  Created by MOON FLOWER on 2018/7/6.
//  Copyright © 2018年 刘山. All rights reserved.
//

#import <SEGModel/SEGNewMyDoorListModel.h>
#import "SEGNewOpenDoorModel.h"
@interface SEGDoorBaseController : UIViewController

@property (nonatomic, copy) void (^disapperCallback)(void); ///< 页面消失的回调

/**
 开门初始化
 
 @param type 门类型
 @param isFromServerList 是否是从服务页进入
 @param completed 操作门回调
 @return self
 */
- (instancetype)initWithDoorType:(SEGEnumOpendoorShowType)type isFromServerList:(BOOL)isFromServerList completed:(void(^)(SEGNewOpenDoorModel*))completed;

@end
